package com.jdcjk.project.main.model.entity;

import java.util.List;

/**
 * Created by dong on 2016/12/12.
 * 车辆列表实体类
 */
public class CarListInfo {
    /**
     * id : 1
     * flgDeleted : true
     * displayid : null
     * longitude : 0
     * latitude : 0
     * altitude : 0
     * speed : 0
     * direction : 0
     * locationTime : null
     * updatedTime : null
     * locationType : NULLLOCATION
     * emergencyAlarm : false
     * terminalNumber : 1231323123123
     * simNum : 123123123123
     * carId : null
     * carColor : null
     * provinceId : null
     * cityId : null
     * online : null
     * remark : 312312312312
     * acc : true
     * registerlog : null
     * register : null
     * powerword : null
     * mileage : null
     * creator : null
     * createdTime : 2016-12-22 14:59:31
     * userDtos : []
     * cardNum: null
     * icon: null
     * linkman: null
     * linkphone: null
     * model: null
     * terminalType:终端类型(高精度：GJD，机动车：CZ808)
     */

    private int id;
    //是否逻辑删除标记
    private boolean flgDeleted;
    //名称
    private String displayid;
    //经度
    private double longitude;
    //纬度
    private double latitude;
    //高度
    private double altitude;
    //速度
    private float speed;
    //方向
    private float direction;
    //定位时间
    private String locationTime;
    //更新时间
    private String updatedTime;
    //定位类型（NULLLOCATION("未定位"),RD("RD定位"),RN("RN定位"),GPS("GPS定位")）
    private String locationType;
    //是否紧急报警
    private boolean emergencyAlarm;
    //终端编号
    private String terminalNumber;
    //终端SIM卡号
    private String simNum;
    //终端车牌号
    private String carId;
    //车辆颜色
    private String carColor;
    //省
    private String provinceId;
    //市
    private String cityId;
    //在线状态
    private boolean online;
    //备注
    private String remark;
    //ACC状态
    private boolean acc;
    //注册状态
    private String registerlog;
    //是否注册
    private int register;
    //密码
    private String powerword;
    //里程数
    private int mileage;
    //创建者
    private String creator;
    //创建时间
    private String createdTime;
    private List<?> userDtos;
    //设备手机卡号
    private String cardNum;
    //图标url
    private String icon;
    //联系人
    private String linkman;
    //联系电话
    private String linkphone;
    //型号
    private String model;
    //终端类型
    private String terminalType;

    public CarListInfo() {

    }

    public void setLatLng(double latitude, double longitude) {
        setLatitude(latitude);
        setLongitude(longitude);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isFlgDeleted() {
        return flgDeleted;
    }

    public void setFlgDeleted(boolean flgDeleted) {
        this.flgDeleted = flgDeleted;
    }

    public String getDisplayid() {
        return displayid;
    }

    public void setDisplayid(String displayid) {
        this.displayid = displayid;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public float getDirection() {
        return direction;
    }

    public void setDirection(float direction) {
        this.direction = direction;
    }

    public String getLocationTime() {
        return locationTime;
    }

    public void setLocationTime(String locationTime) {
        this.locationTime = locationTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public boolean isEmergencyAlarm() {
        return emergencyAlarm;
    }

    public void setEmergencyAlarm(boolean emergencyAlarm) {
        this.emergencyAlarm = emergencyAlarm;
    }

    public String getTerminalNumber() {
        return terminalNumber;
    }

    public void setTerminalNumber(String terminalNumber) {
        this.terminalNumber = terminalNumber;
    }

    public String getSimNum() {
        return simNum;
    }

    public void setSimNum(String simNum) {
        this.simNum = simNum;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public boolean getOnline() {
        return online;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public boolean getAcc() {
        return acc;
    }

    public void setAcc(boolean acc) {
        this.acc = acc;
    }

    public String getRegisterlog() {
        return registerlog;
    }

    public void setRegisterlog(String registerlog) {
        this.registerlog = registerlog;
    }

    public int getRegister() {
        return register;
    }

    public void setRegister(int register) {
        this.register = register;
    }

    public String getPowerword() {
        return powerword;
    }

    public void setPowerword(String powerword) {
        this.powerword = powerword;
    }

    public int getMileage() {
        return mileage;
    }

    public void setMileage(int mileage) {
        this.mileage = mileage;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public List<?> getUserDtos() {
        return userDtos;
    }

    public void setUserDtos(List<?> userDtos) {
        this.userDtos = userDtos;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getLinkphone() {
        return linkphone;
    }

    public void setLinkphone(String linkphone) {
        this.linkphone = linkphone;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(String terminalType) {
        this.terminalType = terminalType;
    }
}
